package num1625;

/**
 * @author : DuJiabao
 * @Project : sword-finger-offer
 * @Time : 2021/4/15 6:24
 * @Desc :
 */
public class Client {
  public static void main(String[] args) {
    LRUCache2 cache = new LRUCache2(2);
    cache.put(1,1);
    cache.put(2,2);
    System.out.println(cache.get(1));
    cache.put(3,3);
    System.out.println(cache.get(2));
    cache.put(4,4);
    System.out.println(cache.get(1));
    System.out.println(cache.get(3));
    System.out.println(cache.get(4));
  }
}
